'use strict';

void function () {
    var app = angular.module('BlurAdmin');

    var config = {
      PAGE_SIZE: 20,
      textareaLength: 50,
      currTextareaLength: 150,
      GENDER: ['男', '女'],
      resourceTypes: [
        {name: '视频', type: 1},
        {name: '动画', type: 2},
        {name: '图片', type: 3},
        {name: 'apk', type: 4}
      ],
      giftSetType: [
        {name: '节日礼包', type: '0'},
        {name: '新用户礼包', type: '1'},
        {name: '其他礼包', type: '2'},
      ],
      giftUserScope: [
        {name: '全体', type: '0'},
        {name: '特定用户', type: '1'},
        {name: '优惠码用户', type: '2'},
      ],
      appVersionImportant: [
        {name: '最新版', type: 1},
        {name: '小改动', type: 2},
        {name: '建议更新', type: 3},
        {name: '强制更新', type: 4},
      ],
      targetUsers: [
        {name: '宝宝', type: 0},
        {name: '家长', type: 1},
        {name: '公众', type: 2},
        {name: '教师', type: 3},
      ],
      videoProfile: [
        {name: '320x240(180P,15帧)', type: '180P'},
        {name: '640x360(360P,15帧)', type: '360P_9'},
        {name: '640x360(360P,30帧)', type: '360P_4'},
        {name: '1280x720(720P,15帧)', type: '720P'},
        {name: '1280x720(720P,30帧)', type: '720P_3'},
      ],
      displayPlatforms: [
        {name: '电视和微信', type: 0},
        {name: '电视', type: 1},
        {name: '微信', type: 2},
      ],
      liveTypes: [
        {name: '未发布', type: 0},
        {name: '播放中', type: 1},
        {name: '直播回看', type: 2},
        {name: '强制停止', type: 3},
        {name: '暂停', type: 4},
        {name: '已删除', type: 6},
        {name: '未开始', type: 99},
      ],
      deviceTypes: [
        {name: '电视', type: 'tv'},
        // {name: '小酷宝', type: 1},
        {name: '移动设备', type: 'mobile'},
      ],
      liveModeType: [
        {name: '互动模式', type: 1},
        {name: '讲座模式', type: 2},
        {name: '会议模式', type: 3},
      ],
      auditStatuses: [
        {name: '待审核', type: 0},
        {name: '启用', type: 1},
        {name: '禁用', type: 2},
      ],
      saleStatuses: [
        {name: '待审核', type: 0},
        {name: '通过', type: 1},
        {name: '未通过', type: 2},
      ],
      babyShowSourceType: [
        {name: '用户添加', type: 0},
        {name: 'ar收藏', type: 1},
        {name: '班级圈收藏', type: 2},
        {name: '宝宝秀', type: 3},
        {name: '主题活动', type: 4},
      ],
      memberType: [
        {name: '6个月会员', type: 0},
        {name: '12个月会员', type: 1},
        {name: '非会员', type: 2},
      ],
      classProps: [
        {name: '非VIP', type: 0},
        {name: 'VIP', type: 1},
      ],
      memberTypeMonths: [
        {name: '1个月', type: 1},
        {name: '3个月', type: 3},
        {name: '6个月', type: 6},
        {name: '12个月', type: 12},
        {name: '36个月', type: 36},
      ],
      productTypes: [
        {name: '会员(开通)', type: 1},
        {name: '会员(续费)', type: 2},
        // {name: '新东方', type: 3},
        {name: '课程', type: 4},
      ],
      buyTypes: [
        {name: '自己购买', type: 1},
        {name: '推荐人推荐购买', type: 2},
        {name: '大礼包', type: 3},
        {name: '赠送幼儿园', type: 4},
        {name: '激活码', type: 5},
        {name: '赠送一个月', type: 6},
      ],
      appUpdateImportance: [
        {name: '小改动', type: 2},
        {name: '建议更新', type: 3},
      ],
      feedbackUserTypes: [
        {name: 'PC网页', type: 1},
        {name: '微信', type: 2},
        {name: 'IOS直播', type: 3},
        {name: 'Android直播', type: 4},
        {name: '智慧学堂', type: 5},
        {name: '在线学堂', type: 6},
        {name: '在线学堂简版', type: 7},
      ],
      saleRoleTypes: [
        {name: '海尔售前', type: 1},
        {name: '海尔售后', type: 2},
      ],

    };

    angular.forEach(config, function (key, value) {
        app.constant(value, key);
    });
}();























